<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:p="http://primefaces.org/ui">

    <ul class="submenu">
        <li>
            <p:commandLink value="Date angajare" actionListener="#{menuBean.employmentDataTab}" update=":tabs-panel"
                           styleClass="submenu-item #{menuBean.subMenuIndex == 0 ? 'selected' : ''}"/>
        </li>

        <li>
            <p:commandLink value="Studii/Abilitati" actionListener="#{menuBean.skillsDataTab}" update=":tabs-panel"
                           styleClass="submenu-item #{menuBean.subMenuIndex == 1 ? 'selected' : ''}"/>
        </li>

        <li>
            <p:commandLink value="Date aditionale" actionListener="#{menuBean.additionalDataTab}" update=":tabs-panel"
                           styleClass="submenu-item #{menuBean.subMenuIndex == 2 ? 'selected' : ''}"/>
        </li>

    </ul>

</ui:composition>